<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<jsp:include page="/extInclude.jsp" />
<script type="text/javascript">
/*!
 * Ext JS Library 3.2.1
 * Copyright(c) 2006-2010 Ext JS, Inc.
 * licensing@extjs.com
 * http://www.extjs.com/license
 */
Ext.onReady(function(){
    // second tabs built from JS
    var tab= new Ext.Panel({
        renderTo: document.body,
        plain:true,
        defaults:{autoScroll: true},
        items:[{
                html: "<iframe src='<%=basePath%>ReportServer?reportlet=customerarea.cpt' width='100%' height='800' frameborder='0' marginwidth='0' marginheight='0'></iframe>"
            } 
        ]
    });
});
</script>

